package com.ysstech.valuation.service;

import java.time.LocalDate;
import java.util.List;
import java.util.Map;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ysstech.valuation.entity.Quotation;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author lishuangliang
 * @since 2021-02-22
 */
public interface QuotationService extends IService<Quotation> {
    /**
     * 获取股票类行情 包含  除权除息报价
     *
     * @param fzqdm
     * @param date
     * @return
     * @throws Exception
     */
    public Quotation getQuotation(String fzqdm, LocalDate date) throws Exception;

    /**
     * 获取行情信息
     *
     * @return
     * @throws Exception
     */
    public Map<String, List<Quotation>> queryQuotationCache(LocalDate fdate) throws Exception;
}
